-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addition of parameter definitions in MESSAGEix documentation #275
Conversation
@GamzeUnlu95 thanks for this. I have turned on the automatic RTD builds of this branch, and they seem to complete succesfully! Here is the page you modified: https://message.iiasa.ac.at/en/parameter_doc_new/model/MESSAGE/parameter_def.html Please solicit others' input, in the form of comments on this PR, as to which (Option 1 or Option 2) is the clearest form for the documentation. |
Also note that, per our in-person discussion, message_ix tests are currently failing because iiasa/ixmp#225 needs to be completed, reviewed, and merged. |
@GamzeUnlu95 —commit 800c35a seems to revert the addition of descriptions and the Option 2 table that were added by bb8a35b. Was that intentional? |
@khaeru , that was intentional. After converting to pdf and a discussion with Volker, we decided not to include all the definitions in the tables, but include them in the footnotes or in the paragraphs where it is relevant. I also updated the PR definition. |
Hi @GamzeUnlu95, I've edited the description of the PR to include that closes issue #260. You've used the command closes the other way around: you wrote closes #275 in the issue itself. The command closes issues from PRs. Therefore I also deleted that comment in #260. Now I'm going through what you've wrote and I'll evidence very minor detail and also push a commit correcting a typo to also see if all the CIs pass after iiasa/ixmp#225 was merged. |
* .. [#renewables] ``renewable_capacity_factor`` refers to the quality of renewable potential by grade and ``renewable_potential`` refers to the size of the renewable potential per grade. | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the sentence: refers to the quality of renewable potential by grade here. Do you think it is enough? Probably I missed other previous descriptions that could help me understand it.
Codecov Report
@@ Coverage Diff @@
## master #275 +/- ##
=======================================
Coverage 78.64% 78.64%
=======================================
Files 13 13
Lines 1138 1138
=======================================
Hits 895 895
Misses 243 243 Continue to review full report at Codecov.
|
Looking for some other wrong parameter definitions in Parameter definition page, as emphasized in #51, I have a doubt now:
I thought probably the aim was to differentiate the sets location and node from the Can anyone help me interpret them so I can properly edit their dimensions and eventually close #51 ? @OFR-IIASA @volker-krey @khaeru @behnam-zakeri |
@francescolovat —that's a great question. Let's also CC @danielhuppmann @gidden per #254. There are at least three things going on here:
So what you've uncovered (I hadn't noticed myself!) is:
I hope this helps to understand the situation and to propose improvements. |
To quote Douglas Adams: "I apologize for the inconvenience". There are indeed many things going on here, and it is important to keep two things separate:
These two use cases are, in principle, not related. |
Closes #260.
Two other issues that are related and might also be addressed in this PR: #241 and #51.
This PR updates the parameter documentation and adds explanations for the parameters that are not self-explanatory. The parameter explanations are based on the definitions provided in
parameter_def.gms
file.Even though the initial idea was to add the definitions in the tables for every parameter, after a discussion with @volker-krey , we agreed that it is better to add these definitions only for parameters that are not clear since most of the parameters are already self-explanatory (e.g. bound_activity_up, construction_time etc.) and the tables look exhaustive (especially in the
pdf
version of the documentation) when all the definitions are added.The additional information and related links are added to the footnotes and to the explanation paragraphs for the parameters/sections that might require more explanation. (e.g. rating_bin, add-on technologies, cost parameters for ‘soft’ relaxations of dynamic constraints, auxiliary investment cost parameters and multipliers, emission scaling, relations, resources).
These additions are based on the
parameter_def.gms
file which includes only basic definitions of the parameters. The reviewers could suggest changes to the explanations in case they are not clear enough (Especially for the section of "Auxiliary investment cost parameters and multipliers").The documentation page can be built by using the command:
sphinx-build [source-directory] [output-directory]
source-directory:
C:\....\message_ix\doc\source
output directory:
C:\....\message_ix\doc\build